package com.carsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.carsystem.entity.Order;
import com.carsystem.request.AliPayBean;
import com.carsystem.request.FrontOrderRequestVo;
import com.carsystem.request.OrderRequestVo;
import com.carsystem.request.SetOrderRequestVO;
import com.carsystem.response.FrontOrderResponseVo;
import com.carsystem.response.OrderResponseVo;
import com.carsystem.utils.PageHandler;
import com.carsystem.utils.Result;

import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ykl
 * @since 2021-12-04
 */
public interface IOrderService extends IService<Order> {


    Result updateStatus(Integer id);

    PageHandler selectOrderByPage(OrderRequestVo orderRequestVo);

    Result updateOrderResponse(OrderResponseVo orderResponseVo);

    boolean setOrder(SetOrderRequestVO setOrderRequestVO);

    String aliPay(AliPayBean aliPayBean);

    List<FrontOrderResponseVo> selectOrderById(String memberId);

    PageHandler selectOrderByIdList(FrontOrderRequestVo frontOrderRequestVo);
}
